project(ini-wrapper C)

add_subdirectory(iniparser)

aux_source_directory(. WRAP_SRC_FILES)

add_library(${PROJECT_NAME} STATIC ${WRAP_SRC_FILES})
target_link_libraries(${PROJECT_NAME} PRIVATE iniparser)

target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_LIST_DIR})

